package com.flower.mapper;

import com.flower.model.entity.SysDict;
import com.flower.model.entity.SysMenu;
import com.flower.model.vo.MenuVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@SuppressWarnings("all")
/**
 *@ClassName MenuMapper
 *@Description TODO
 *@Author @O_o  GW__
 *@Date 2025/6/12 10:44
 *@Version 1.0
 */
@Mapper
public interface MenuMapper {
    List<MenuVo> getAllMenu(String name);

    List<SysDict> getIcons();

    void updateMenu(SysMenu sysMenu);

    void addMenu(SysMenu sysMenu);

    void delMenuById(Integer id);

    List<Integer> getMenuByIds(Integer roleId);
}
